package com.example.ying.model.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;

@TableName(value = "comments")
@Data
public class Comment {
    @TableId(type = IdType.AUTO)
    private Long commentId;

    private String userId;

    private Integer movieId;

    private String content;

    private String commentTime;

    private String rating;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
